package com.booking.controller.model.req.order;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
@Data
public class ServiceOrderCreateReq {
    /**
     * 用户ID
     */
    @NotNull(message = "用户id不能为空")
    private Long userId;
    /**
     * 服务ID
     */
    @NotNull(message = "服务id不能为空")
    private Long serviceId;
    /**
     * 服务日期
     */
    @NotEmpty(message = "服务日期不能为空")
    private String serviceDate;
}
